package com.ajl.wx.module.course.mapper;

import com.ajl.wx.beans.dto.CourseDTO;
import com.ajl.wx.beans.po.CoursePO;
import com.ajl.wx.beans.vo.BaseMap;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author HouXinLin
 * @since 2020-09-17
 */
@Mapper
public interface TbCourseMapper extends BaseMapper<CoursePO> {

    public List<CourseDTO> listCourseByType(String type);

    public List<CoursePO> listCourse();

    public int insert(CoursePO coursePO);

    public List<BaseMap> listHot();

}
